iconhelper: Improve size determination for surfaces
authorBenjamin Otte <otte@redhat.com>
Sat, 28 Nov 2015 06:06:37 +0000 (07:06 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 1 Dec 2015 23:29:29 +0000 (00:29 +0100)
commitafd0e284375baa0da4a86c31fd1994a3612e1a24
tree1a14b147f5e03867894f744079e9f48d4e24dafc
parent071d2a1d69c5bad3d6d4b451a9f7568fbf2507a8
iconhelper: Improve size determination for surfaces

Instead of just working for image surface, this should now work for all
bounded surfaces.

Test included.
gtk/gtkiconhelper.c
testsuite/reftests/Makefile.am
testsuite/reftests/image-recording-surface.c [new file with mode: 0644]
testsuite/reftests/image-recording-surface.ref.ui [new file with mode: 0644]
testsuite/reftests/image-recording-surface.ui [new file with mode: 0644]